package com.jiaming.restaurant.api.trade.bean.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author dragon
 * @create 2021-02-25 14:15
 */
@Data
public class TradeItem {
    private Long id;
    @JsonProperty(value = "trade_id")
    private String tradeId;
    @JsonProperty(value = "goods_id")
    private Integer goodsId;
    private Integer total;
    private LocalDateTime createTime;
    private Integer price;
    private String name;

}
